import axios from '@/axios'

// 拿到对应页数的图库分类数据
export function getImageClassList(page){
  return axios.get("/admin/image_class/" + page)
}

//增加图库分类
export function CreateImageClassList(data){
  return axios.post("/admin/image_class",data)
}

//修改图库分类
export function upDateImageClassList(id,data){
  return axios.post("/admin/image_class/"+id,data)
}

//删除图库分类
export function deleteImageClassList(id){
  return axios.post(`/admin/image_class/${id}/delete`)
}



